package net.tngou.crawler.runnable;

import net.tngou.crawler.jdbc.DBManager;
import net.tngou.crawler.pojo.Crawlerurl;
import net.tngou.crawler.pojo.POJO;
import net.tngou.crawler.service.CrawlerService;


public class CrawlerurlThread extends BaseThread {
	Crawlerurl crawlerurl;
	CrawlerService service = new CrawlerService();
//	public CrawlerurlThread(Crawlerurl pojo) {
//		this.crawlerurl=pojo;
//
//	}

//	@Override
//	public void setData(POJO pojo) {
//		this.crawlerurl=(Crawlerurl) pojo;
//	}

	@Override
	public void run() {
//		 System.out.println(this.getName() + "开始处理");
//		 service.saveCravlerUrl((Crawlerurl) pojo);
//		 System.out.println(this.getName() + "结束处理");
//		 DBManager.closeConnection();
		
	}

}
